package com.hmdp.learn;

import lombok.Data;

/**
 * 登录请求对象
 */
@Data
public class LoginReq {
    private String name;
    private String password;

    private String phone;
    private String code;

    /**
     * account:用户名密码登录
     * sms:短信验证码登录
     */
    private String type;
}
